import request from '@/utils/request'
export default{
  //1.添加课程
  addCourseVo(courseInfo){
    return request({
      url:'eduservice/course/addCourse',
      method:'post',
      //将对象转换成json传输
      data:courseInfo
    })
  },
  //登录
  login(adminLoginVo){
    return request({
      url:'/api/v1/admin/login',
      method:'post',
      //将对象转换成json传输
      data:adminLoginVo
    })
  }

}
